call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
commitae4949469e0910dd73e50a993549a519f3c85f90
treea1054af7c01bf2f436ad6660c227878f2a85ef02
parent1495fd8ce389ee3759b66b15ac05072c0b983b84
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json